using System;
using System.ComponentModel.DataAnnotations;
using Domain.审计字段;

namespace 车辆服务管理
{
    /// <summary>
    /// 事故记录（AccidentRecord）
    /// </summary>
    public class AccidentRecord : AuditableEntityBase
    {
        /// <summary>
        /// 主键（自增）
        /// </summary>
        [Key]
        public int AccidentId { get; set; }

        /// <summary>
        /// 事故编号
        /// </summary>
        public string AccidentCode { get; set; }

        /// <summary>
        /// 事故标题
        /// </summary>
        public string AccidentTitle { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public string LicensePlateNumber { get; set; }

        /// <summary>
        /// 事故人
        /// </summary>
        public string AccidentMen { get; set; }

        /// <summary>
        /// 事故日期
        /// </summary>
        public DateTime? AccidentDate { get; set; }

        /// <summary>
        /// 保险公司赔偿
        /// </summary>
        public float? Insurance { get; set; }

        /// <summary>
        /// 公司损失
        /// </summary>
        public float? Loss { get; set; }

        /// <summary>
        /// 事故描述
        /// </summary>
        public string AccidentProject { get; set; }

        /// <summary>
        /// 直接经济损失
        /// </summary>
        public string DitectLoss { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string AccidentProduce { get; set; }
    }
}


